package com.caishi.lkx.user.userlog.model;

import lombok.Getter;

/**
 * @Param:
 * @return
 * @Author: huangpeng
 * @Date: 2021/9/26 15:26
 * @Description: 日志类型
 */

public enum UserLogType {
    //
    accessLog("访问量统计", "log_records_access", false),
    useLog("使用人次统计", "log_records_use", false),
    paperUseLog("试卷使用量统计", "log_records_paper_use", true),
    questionUseLog("试题使用量统计", "log_records_question_use", true),
    registerLog("注册数统计", "log_records_register", false),
    timeUseLog("使用时长统计", "log_records_time_use", false),
    downloadLog("下载次数统计", "log_records_download", false),
    timeUseLogAvg("平均使用时长","",false),
    registerLogNew("新增注册数统计","",false),

    ;

    @Getter
    final String desc;

    @Getter
    final String table;

    /**
     * 是否和行业相关
     */
    @Getter
    final boolean ind;

    UserLogType(String desc, String table, boolean ind) {
        this.desc = desc;
        this.table = table;
        this.ind = ind;
    }

}
